package com.fuhe.chen.vendingmachine.constant;

//内存存储名称参数
public interface CacheConstant {

    //关键词:全部分类
    public final static String CATEGORIES ="categories:";

    //关键词:全部商品营销标签信息(包括该营销标签下的商品数)
    public final static String COMMODITY_LABEL="commodityLabels:";

    //关键词:全部商品与商品营销标签的relationship
    public final static String COMMODITY_LABEL_RELATIONSHIP="commodityLabelRelationships:";

    //关键词:所有上架商品信息(包括分类信息,图片信息,规格信息)
    public final static String COMMODIIES_ALL_ON_SALE="commoditiesAllOnSale:";

    //关键词:所有上架售货机商品信息(包括分类信息)
    public final static String ITEMS_ALL_ON_SALE="itemsAllOnSale:";

    //关键词:所有售货机信息分页查询前缀
    public final static String MACHINENAME_ALL="machineAll:";

    //关键词:平台数据
    public interface Statistic{

        //总成交金额
        static final String TOTAL_SALES_AMOUNT = "totalSalesAmount";
        //总成交订单数
        static final String TOTAL_SALES_ORDERS = "totalSalesOrders";
        //总订单数
        static final String TOTAL_ORDERS = "totalOrders";

        //总商品数
        static final String TOTAL_COMMODITIES = "totalCommodities";
        //总成交商品数
        static final String TOTAL_SALES_COMMODITIES = "totalSalesCommodities";
        //总机器数
        static final String TOTAL_MACHINES = "totalMachines";


        //运行中总机器数
        static final String TOTAL_MACHINES_IN_OPERATION = "totalMachinesInOperation";
        //损坏总机器数
        static final String TOTAL_MACHINES_IN_ERROR = "totalMachinesInError";
    }

}
